package com.dhcc.httpserver;



public abstract class Servlet {
	
	public void service(Request request,Response response) throws Exception{
		
		this.doGet(request,response);
		this.doPost(request,response);
	}
	
	protected abstract void doGet(Request request,Response response) throws Exception;
	protected abstract void doPost(Request request,Response response) throws Exception;
	
	
	

}
